package core.exception;

import java.util.Map;

/**
 * Created by Administrator on 2017/5/14.
 */
public class AccountingException extends RuntimeException{
    Map data;
    String code;

    public AccountingException(){
        super();
    }

    public AccountingException(String message){
        super(message);
    }



    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
        //todo this.message = "从配置文件中根据code获取";


    }

    public Map getData() {
        return data;
    }

    public void setData(Map data) {
        this.data = data;
    }
}
